/**
 * 
 */
package com.gf.pf.model;

import java.io.Serializable;
import java.util.List;

/**
 * @description 分页对象
 * @date   Mar 7, 2015
 */
public class Flexigrid implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -142031967131915765L;

	/**
	 * 总记录数
	 */
	private int total;
	
	/**
	 * 当前的页数
	 */
	private int page;
	
	/**
	 * 记录开始数
	 */
	private int rowStart;
	
	/**
	 * 记录结束数
	 */
	private int rowEnd;
	
	/**
	 * 每页显示的记录数
	 */
	private int rp;
	
	/**
	 * 列表数据
	 */
	private List<?> rows;
	
	/**
	 * 业务对象
	 */
	private Object obj;

	/**
	 * @return the total
	 */
	public int getTotal() {
		return total;
	}

	/**
	 * @param total the total to set
	 */
	public void setTotal(int total) {
		this.total = total;
	}

	/**
	 * @return the page
	 */
	public int getPage() {
		return page;
	}

	/**
	 * @param page the page to set
	 */
	public void setPage(int page) {
		this.page = page;
	}

	/**
	 * @return the rowStart
	 */
	public int getRowStart() {
		return rowStart;
	}

	/**
	 * @param rowStart the rowStart to set
	 */
	public void setRowStart(int rowStart) {
		this.rowStart = rowStart;
	}

	/**
	 * @return the rowEnd
	 */
	public int getRowEnd() {
		return rowEnd;
	}

	/**
	 * @param rowEnd the rowEnd to set
	 */
	public void setRowEnd(int rowEnd) {
		this.rowEnd = rowEnd;
	}

	/**
	 * @return the rp
	 */
	public int getRp() {
		return rp;
	}

	/**
	 * @param rp the rp to set
	 */
	public void setRp(int rp) {
		this.rp = rp;
	}

	/**
	 * @return the rows
	 */
	public List<?> getRows() {
		return rows;
	}

	/**
	 * @param rows the rows to set
	 */
	public void setRows(List<?> rows) {
		this.rows = rows;
	}

	/**
	 * @return the obj
	 */
	public Object getObj() {
		return obj;
	}

	/**
	 * @param obj the obj to set
	 */
	public void setObj(Object obj) {
		this.obj = obj;
	}
	
}
